package com.chancingpack.dal.dao;

import com.chancingpack.dal.model.WxBook;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/29.
 */
public interface WxBookDao {

    boolean insertBook(WxBook record);

    List<Map<String,Object>> selectByCustId(Map<String,Object> map);

    boolean deleteByPrimaryKey(int bookId);

    boolean insertsgslecompact(Map<String,Object> map);

    List<Map<String,Object>> selectsgbasCustInfo(String custId);

    List<Map<String,Object>> selectsgBasCorpInfo (String purveCode);

    List<String> selectsgSleCompact(String CompaCode);

    String selectcompaId();

    boolean insertsgSleCompactDetail(Map<String,Object>map);

    int selectdetailId();
}
